#!/usr/bin/env python

import re, zipfile

current = 90052
ans = ''
zip_file = zipfile.ZipFile('channel.zip')
while True:
    f = open('channel\\%d.txt' %(current), 'r')
    ans += zip_file.getinfo('%d.txt' %(current)).comment
    text = ''.join(line.rstrip() for line in f.readlines())
    print text
    mo = re.search('nothing is (\d+)', text)
    if mo == None:
        break
    current = int(mo.group(1))

print ans
